# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem              1.0

name                    fondu
version                 060102
revision                1
categories              print
license                 BSD
maintainers             nomaintainer
homepage                http://fondu.sourceforge.net/

description             A set of programs to interconvert between Mac font \
                        formats and pfb, ttf, otf and bdf files on UNIX.

long_description        Dealing with Mac fonts is hard on other operating \
                        systems because Mac fonts are stored in the resource \
                        fork, and other operating systems do not support \
                        this concept. Fondu will extract the resource fork \
                        from either a MacBinary file or a BinHex file. Ufond \
                        will create a resource fork inside a MacBinary file.

distfiles
extract {
    xinstall -d ${worksrcpath}
}

# Avoid dependencies on libcxx and a macports-clang compiler, because
# the mpkg test is fragile and assumes no dependencies.
configure.cxx_stdlib

use_configure   no
build {}

destroot {
    touch ${worksrcpath}/testfile
    xinstall -m 644 ${worksrcpath}/testfile ${destroot}${prefix}/bin
}
